package yl.hs.bmipfull.viewmodels.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import yl.hs.bmipfull.viewmodels.BaseModel;

/**
 * 作用: 系统菜单信息视图模型 <br/>
 * 创建时间: 2021-05-11 09:33 <br/>
 *
 * @author 张凯
 */
@ApiModel(value = "MenuInfoModel", description = "系统菜单视图模型")
public class MenuInfoModel extends BaseModel {

    /**
     * 菜单名称
     */
    @ApiModelProperty(value = "菜单名称", required = true)
    private String fullName;

    /**
     * 菜单图标
     */
    @ApiModelProperty(value = "菜单图标", required = true)
    private String menuIcon;

    /**
     * 菜单背景色
     */
    @ApiModelProperty(value = "菜单背景色")
    private String menubgColor;

    /**
     * 菜单文字颜色
     */
    @ApiModelProperty(value = "菜单文字颜色")
    private String menufrColor;

    /**
     * 指向目标
     */
    @ApiModelProperty(value = "指向目标", required = true)
    private String target;

    /**
     * 页面地址
     */
    @ApiModelProperty(value = "页面地址", required = true)
    private String pageAddress;

    /**
     * 数据地址
     */
    @ApiModelProperty(value = "数据地址", required = true)
    private String dataAddress;

    /**
     * 菜单层级
     */
    @ApiModelProperty(value = "菜单层级", required = true)
    private String layer;

    /**
     * 父级编号
     */
    @ApiModelProperty(value = "父级编号", required = true)
    private String parentSN;

    /**
     * 父级代码
     */
    @ApiModelProperty(value = "父级代码", required = true)
    private String parentCode;

    /**
     * 是否展开
     */
    @ApiModelProperty(value = "是否展开")
    private boolean expand;

    /**
     * 适用版本
     */
    @ApiModelProperty(value = "适用版本")
    private String versions;

    /**
     * 备注
     */
    @ApiModelProperty(value = "适用版本")
    private String remark;

    /**
     * 排序字段
     */
    @ApiModelProperty(value = "适用版本")
    private String sortCode;

    /**
     * 菜单状态
     * -1:已删除
     * 0:未启用
     * 1:启用
     */
    @ApiModelProperty(value = "菜单状态")
    private Short state;

    /**
     * 适用平台
     */
    @ApiModelProperty(value = "适用平台", required = true)
    private String platform;
}
